﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace FriendAD.web.Areas.Member.Models
{
    public class CreateArticleModelView
    {
        public CreateArticleModelView()
        {
            loca = 0;
            wechatStatus = 1;
        }
        [Required(ErrorMessage = "请输入{0}")]
        [Display(Name = "原文链接")]
        public string url { set; get; }
        [Required(ErrorMessage ="请选择{0}")]
        [Display(Name ="广告")]
        public int ad { set; get; }
        [Required(ErrorMessage ="请选择{0}")]
        [Display(Name = "广告位置")]
        public int loca { set; get; }
        [Required(ErrorMessage = "请选择{0}")]
        [Display(Name = "公众号状态")]
        public int wechatStatus { set; get; }
    }
}